<template>
    <div id="top-carousel">
      <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">

      <!--  &lt;!&ndash; 底部圆点 &ndash;&gt;
        <ol class="carousel-indicators">
          <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
          <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        </ol>-->

        <!-- 每个栏目 -->
        <div class="carousel-inner" role="listbox">
          <div class="item active">
            <img src="../../assets/images/container1/container/f1.jpg" height="100%" width="100%"/>
          </div>

          <div class="item">
            <img src="../../assets/images/container1/container/f2.jpg" height="100%" width="100%"/>
          </div>

        </div>

        <!-- 左右按钮 -->
        <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
          <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
          <span class="sr-only">Previous</span>
        </a>

        <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
          <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
          <span class="sr-only">Next</span>
        </a>
      </div>
    </div>
</template>



<script>
   ///引入局部swiper
    /*import { swiper, swiperSlide } from 'vue-awesome-swiper'
    import '../../assets/css/swiper.css'*/

    export default {
        name: "top-carousel",
    }
</script>

<style scoped>

</style>
